changed the port to run on
fixed code and tests