fixed compile warnings in stargerTest