Test function added

A function added for testing purpose