Tests for data interface