validate file test works