Added tests for cream and gram5.