Added tests for #10