added tests for the ndb objects