change test generation to target dir
Merge pull request #543 from georgebyelas/master

change test generation to target dir