Basic control tests and mock datasources and contexts