Fixed tests for new render, unrender and dispose lifecycle