added tests for dice utility