A test for the workflow of scf