Adding build time self tests for basic (deprecated), doorbell and plain mode. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>