added tests for accounts