test fix: added latches to tests with entry listener
test fix: getting instance from test factory