Added test for libenv.