Changed into JUnit test.