Fix errors in pageTest, saveTest and editTest