There is sligthly problem with this change.
1) you move only part of testsuite and it is wrong
2) tests is not part of modules sources
3) generating Makefile delete makefile inside testsuite and tet won't work