Refactor failure tests into their own file