Unit testin added (used check)