add default expiration option and test for it