added returning a function from a method test