Remove reference to nonexistant function in pkg tests

This fixes a ref that was missed in 7984a8c.