changed test based on different constructor