fixed formatting errors causing travis build to fail. attempted to modify test cases to fit new status code returns.