added unit tests for AndroidObjectFactory