Generic Codecademy's submission correctness tests in Ruby and Python