fix functional tests and routes for asset page and discussion