Improved local object added test
Added two integration tests