Increase required PHP to 5.4
Created helper function to create qualified addresses
Updated tests