reformatting some test code