test: move invalid case tests to invalid/ directory