move tests makefile to tests dir