feature/103-able-to-use-library-statically

...can be used with any other system
Need to reset `$_currentTestCase` if it was set up temporarily so that the application state remains consistent.