formating code in test