Added validation for small titles
Moved tests to yml