added (unfinished) optimization test for rdg qith QPs