Move check tests to subdir test.

In order to simplify test additions move the
existing test files to subdir test.