Added unit tests for salting.py SaltRaet and RaetKey

Fixed a couple of bugs discovered in writing unittests