Cleaning and ignoring test files.

Cleaned up some code and ignored a test file.