added unit test to determine if given advanced options were defined.