improved script for unit tests