Added function in test object