some small edits to lcmmastertest.c