Protocols interface tests

@MichaelMayorov, what do you think?