Test the various ways to pass data to JsonLD's methods

See https://github.com/lanthaler/JsonLD/commit/f0a995ff65e8c53962839d864cf80e2dd97959fa#commitcomment-4244589

Thanks to @indeyets for noticing the bug introduced in the commit referenced above.