Cleaned up some tests
Added failure test
Fixed typo