Added functional tests for CSPPlugin