Finished Chi Sqaure test.