remove boost warnings from test
fix function tests