add partly old test code