Added test case to cover splitvariants middleware with unit tests. Only one test for now.