Allow multiple elements to be passed for testing.

Closes #1