Merge "Add test for getDeprecationTime and getExpirationTime"