moved badges spec from factories into models