Added validator problem with Jasmine test specs