get rid of some warnings when running tests