Add initial tests and test fixes

* Add test stub file for creating test data
* Add account test file for testing Account model functions
* Initial function bug fixes based on initial tests