fixing typo
adding new test for 'created' callback