Strip trailing/leading white space from user fields
Add test fixtures for datastream and device