test fixes

reducing warnings and errors