made into functional test
Fix for spaces before or after address