Added tests for "trailing" option