add a jasmine-style test case.