fixing tests, pushing libextra dep into cfg(test)