Added Tests.testAlgorithm() and EpsilonGreddy test.