[refactoring] move test resrouces into test_resources folder.
[testing] add comile error test case.