Refactored tests a bit, adding tests for modules
under specific folders.
Removed HTTP tests for now.
Correct error handling when an invalid repo is 
accessed.