Unifying test code layout