test code samples for Mathspace