adding tests for options generation