Minor fixes to test examples
Fixed broken require