Add gems for better errors and automated testing