use mocking per test case
fix #8: proper url generation