added more tests (from jasmine.js)