Bean discovery test - complete previous fix