add test for instance-methods