test: use a file for test