restrict test