test code for bugserver