test fixed + format code