Unit tests for app engine data store

Added unit tests for app engine code. This function is not complete.