Added tests for G.