tests: add file/line/function in assertion failure message.