#38 tests for algorithm form