jasmine testing checkin, register template