Fix core.lib test

See https://github.com/SnabbCo/snabbswitch/commit/2a7d78d987e382bf62d826136686e01e513959a9#commitcomment-6072062