added tests to accounts