Refactored tests into test files

Each test has a txt file and an expected file (except "fails")
Merge pull request #13 from davidfischer/refactor-tests

Refactored tests into test files