ensure instance variable user initialized and not set to None in myrepo.repo.Server
fix a trivial pep8 error
process cases if the parameter 'user' is not given for the constructor of myrepo.repo.Repo
add some more corner test cases