updating tests to use toBlocking and single