Fixed assert at boost python test
Singleton for Error State as there is no intention to make it hold any state