Refactoring event controllers check_vacancy method
Fixed event tests