basic files + tests
narrowed the bug down