added datacontext tests