Some basic tests, WIP
Added checking of assigned conditions
Event assignment tests + some minro fixes