Added code to test the creation of surfaces from chinks.