Formatting of tests input