Small junit utility to verify getters and setters