Fixed failing detect jasmine tests