adds test cases to the algorith