Added user specified custom test functionality.