Adding testing for func feature