added tests to account