Added test for using function from package object.