added customer group test, fixed orm bug preventing creation of customer groups