added guard configs, removed test unit, and updated to latest rails