Adding in hibernate / javax and added Entity attribute test to Device.