added -g to tests