Update test cases for new expires attribute