Implement Test backend.

Fixes #10