tests for decriptor [issue: #26]