Add test for bean naming convention
Fixed formatting