Add build with options test.