address class and tests