automating some tests