Fixed tests constructor