8/12 pst

merge RD test and image compare function