runs tests automatically
simplified tests