renamed repl
changed to only one call to nosetests
added more comments for some tests