more strict rubocop. Fixed offenses. Added specs for Emulation#add