Added additional method to interface.

Now checks if output has been spent first.

This closes #6
This two tests share a lot of code, any way we can refactor both?