Added env option, Fixes #12
Updated require syntax in tests