Testing Java Bean Model