api: change tests directory to root project