Fixes #1 and fixes #6. Added for loops, made test script detect error better, and removed older tests.