fixed little bug and merged AlgoTesting