added tests for surface creation
corrected test