bugfixes, tweaks, and tiny integration test

For now just tests that remote function calls actually work as expected.