Adding environment and tests.
Completed assert_valid_address.