Coursedate unit test