Added automatic test for controllers. Added FileChecker for automatic work with files.