Test for defaultsTo behavior.