Add test for CSP System.register
fix CSP System.register