localhost cases considered and tested