Adding tests for results
Adding create results function