Wrote unit tests for value check and number of results check.