Add testling support.
Clean up test suite.
Add status badges to README.