removed obsolete min makro
extracted mpu initialization and test to seperate method