Some basic tests to verify restraint works as expected.