Adds tests for runtime option