Fixes passing of engine options to tests

Changed to allow the id property to be changed, but will support further engine options in tests in the future. Sorts one of the issues in PR #10.