added tests for time fields in resources