Declare _key _mode _cipher _iv_size properties protected

Declared `_key`, `_mode`, `_cipher`, and `_iv_size` properties
that were originally created dynamically.

Added `assertSameProtectedProperty` as a helper method for the
tests, it uses reflection to access and test the values of those
properties