Put back some missing tests
Made scheduled publish errors into field errors
Removed some unneeded code