Main js-module-manager test case works

Remaining work is to fill in remaining tests and ensure expected
behavior in those cases.