I just released version 0.2.0
with some brand new features and a shiny and extended documentation.
Molid 0.2.0 allows you to automatically start and stop instances, which makes it great for integration testing 
Try the givenMolid-block for Jest:
import { givenMolid } from 'molid/lib/molid-jest';
import { loadProfile } from './your-code';
describe('using the givenMolid function', () => {
givenMolid('with a profile of a person called John', molid => {
it('successfully fetches the profile document', async () => {
const webId = molid.uri('/profile/card#me');
const profile = await loadProfile(webId);
expect(profile.name).toEqual('John');
});
});
});
Read the full docs: