Fix CD matrix test and test file

Here you go.