Added events, updated tests, some docblock updates and fixed bug on empty search param