Remove unused vars from test