remove unused variables
supress unused warnings
disable warnings in tests