Add tests for #107