Ported basic tests and fixed bug in protocol code