Move tests script into tests folder