basic constructor testing