add tests for variant fixes