test specs with jasmine, bugfixing starts here