tests with encoding to detect dependency