market url bugfix + more tests