added test export functionality
added test export functionality