Fix functional tests for library features.