Added unit tests for msf_core state accessors