Fix the warnings test to remove formatting