[test] Add a test for working with levelup