renamed repl
changed to only one call to nosetests
added more comments for some tests
Merge remote-tracking branch 'kjetil/master'