Add check for strdup, change setup/teardown for strstrip