add tests for ChipSecurity