Fixes to MOM monthly means script.
Add unit testing file.