Cashier agent modified to adapt to some of the unit tests (added getters/setters + fixed some instanceof ope)

The single agent tests are complete, now onto the multiple agent tests!