Algebraic group interpretations of groups of order 8