Format source of tests