Fix opencta test

Fixing a couple of issues which were causing Open CTA test to fail. Article used should be more stable now as comments are closed on it.

CC @mattosborn @jamesgorrie