Use external files as test cases

Solve part of #30
Current stats: 54 passed and 15 failed tests