fixes for compiler warnings in tests

@tgoyne