Adds test for reset function
Adds doctring to functions