added script with basic testing functionality