add test code for dev server