Added missing methods to make the test fakes compile with gradle 1.6