tests, before file, intermediate