change url to localhost
Change assert to match new model
Updates to reflect package refactoring