Fixing lint
Added ensure param, default to 'present', implemented 'absent', added tests.