fixed some bugs, added more tests
mass generation of test files

added samples