renamed test class
fixed bug in test code