use lein expectations to run tests
moved schema to a separate file
added account-type attribute
enforce the correct account types