passing N as param to tests.sh