Moving test inside class exists