Extracts autotest code to rspec-autotest

[Closes #803]
[Refs rspec/rspec-autotest#6]