Code generator has been modified to generate case statements for dependency checks and expression checks. This commit updates the unit tests accordingly.