improved tests
move test files to tests/ subdir