Refactor Test conf to FamSpecification

fix ApplicationSpec