tests working but ugly solution. test runs on monolith browserify built file