add gems assert, tests
replace erb to haml equipment