fix(mock): expose inject()/module() methods in tests

Closes #234