Adds test case for variant switches. Refs #20.
Fixes incorrect option store for multiple variants. Refs #20.