fixed broken tests
initial gradle support