added tests, test data fixed minor bugs
added capturing stderr from scythe