Testing two functions in one object.