Added tests for issue CLJ-158.