Metadata

Migration of stream metadata tests. Completes #10