added tests for time entry API