finalize router tests and essential functionality