Add tests to check that command line arguments are passed into addon

Contains #37