Added in unit test for optimizations module.
Added in unit test for optimizations module.

jamesfoley/cms,danielsamuels/cms,jamesfoley/cms,dan-gamble/cms,etianen/cms,dan-gamble/cms,danielsamuels/cms,lewiscollard/cms,jamesfoley/cms,etianen/cms,jamesfoley/cms,danielsamuels/cms,etianen/cms,lewiscollard/cms,dan-gamble/cms,lewiscollard/cms