Fixed module detection on jasmine tests