Adds test for localhost