Adding tests for the new functionality of the study editor handler
Removing print statements
Fixing handlers tests