Added TestSmart for SmartSource.