added some form of automatic testing