upgraded af networking, fixed some tests

Resolves #10