move selftest to config profile, instead of declaring globally