SERVER-12187 add unit test for new options
SERVER-12187 fix windows compile