Added envjs lib and more tests