fixed gradle and a test