TESTING: move test data files out of source tree
also general tidy of test code
Fix for GDA 4029 -> tab key inserts tab at end of line not at current position