Very ugly testing add and reset.
Test code a bit prettier.