revamp EXPORTS.testMock, and remove bower dependency