added unit tests for City backend