add test for new method