Added debug property
Added tests for debug property
Added annotations
Small fix in tests