Unit tests for #44