Restructure BESTEST test case directory. Add master template.