add unit test for runserver command