Add a test (ref gh-1).