Sort of working automatic tests