refactored test, added tests from gae datatsore client