added unit test for cpu mem tracker