add: unit tests with karma (jasmine), fix: pushState setting when no config