Add test case. Updates #24.