moving the test to groovy test