Include tests for the `enable` feature 

Fixed it to run in non-browser environment