fixed base test class so to use new app_factory argument format
simple code refactor. Don't mind me ; )
Tests! Finally! (tests for url building, by the way)