added csp routines tests