Fixed tests and added check if title tag doesn't exist