Fixed a bug in DBHandler, added addAccount JUnit

DBHandler was not checking for good input. It is now.