v0.1.2 Clean up of unit tests, and moved some account logic around for better error reporting