Implement a unit test for the method hasGravity for Blocks. Adds BUKKIT-3832