added test for no address logic