adding test to assert `null` is a defined value
renaming npm module to conditional