Extra integration tests

Added validation for repository existence as well.