Shoaib Malik announces retirement from Tests