split Interaction#== spec and adjust code style