Implement and test GetBytes and GetFloat.