adds test to bound variable for roll

method roll tests for argument type and values set between [0-10].