Added tests for #47 (broken)