KAA-280: Add unit tests for the user extension