Add test for hibernate entity scanning disablement