added tests for random roll and refactored random roll