adding tests for created and leftView callbacks