code test in redame