created tests for router