first version of Figure incl. JUnit test