tests updated to correct method signature

fixes #25