minor code formatting changes in tests