refactored tests to use immediate/abstract futures from guava library instead of mocks