Added tests for #ticket