Tests: Additional test for memory stats api.