added RSpec tests for MOM