Adding tests

To know what happens, because the source is changing all the time the
DataSource in quantity.
More work pending to solve this finally.