test variant in file