Simplify.
Working `record` test.
Bump dependency for `stream-as-promised` to be able to use promisified stream.