Added autotest
Merge pull request #1859 from zenspider/autotest

Added autotest