added two tests for correct initialization