Added more tests, attributes. Fleshed out the errors, moved test code to use unconfirmed transactions