Account tests now pass.

Account metadata is tracked by a separate class-instance variable.
directories_tests now pass with mocks.

get_container properly includes metadata headers.