Integration testing of usage of restriction.