test definitionBase and eventTest