Add tests for get with maxAge