Converting arrays to list before encoding: for interoperability between languages
Seperated test cases by options, so only relevant tests are run for the
given option