unit tests for Eventually