Adding some more tests, fixed a compiler warning in src/sourceslist.cpp.