Added bad library enabling test.