Test that RGroups don't cause a NPE in exact/major mass of molecular formula.

Change-Id: I2abb863888e9508a7e60920a815c6ba9e4d4bc61
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>