Split several unit tests into separate tests

Make some style changes

Add a __ne__() method for Secrets and Orders