[expectations] Fix problem with package in symbol-name