added test to ensure attributes are set correctly on import