changed test to run from localhost