Fix typo
add test for definition existence