refactor filename tests
tests