BUILD: a hacky check for --notests to disable unit tests