implemented roll and test