[WIP] First attempt at automatic testing

@tomas-pecserke