added test files to support #788