first tests (sorry for JUnit3, but it is much more tameable)