Component test for AST and SAST