Extra integration tests

Added validation for repository existence as well.
can you remove this blank line?