Adding a test for functions that return options