Fixed the potter test, and resolved bugs concerned with running tests in series