added jasmine specs for .extends