changed test code