Added a failure test and modified .gitignore to allow test files to be versioned