Added ANSI tests also as JUnit test