Add a test for dyncomp