Java and Groovy Regular Expressions Tests added