tests for DStringMotherClass.startswith, endswith()