check for includeBase in opts instead of options

version 1.1.0 breaks when options object is empty
added test for when options are empty