Add tests for variants dsl