Fix post/stream unit tests