add -t command line to create test case files, add test documentation