adding some test code, nothign fancy, not even junit...