removed unused clock variable on jasmine test for