WIP: Add test to assert state of submission changes

When a user closes an exercise for a submission that needs input check that the
submissions state is changed to done.
Are you trying to get all but the last submission?

Try this in IRB:

```
%w(apple banana cherry)[0..-1]
```