Add tests making sure that optional<T>s can be compared at compile time; this functionality was enabled by N3789