added test for valid address