Test fixes

All 43 tests succeed!!

```
jordi@darwin:~/dev/xispa/bikalims/zinstance$ bin/test -m bika.lims
Running bika.lims.testing.BikaTestingLayer:Functional tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup in 0.231 seconds.
  Set up plone.app.testing.layers.PloneFixture in 5.027 seconds.
  Set up bika.lims.testing.BikaTestLayer in 43.171 seconds.
  Set up bika.lims.testing.BikaTestingLayer:Functional in 0.000 seconds.
  Running:
                  
  Ran 16 tests with 0 failures and 0 errors in 12.061 seconds.
Running bika.lims.testing.BikaTestingLayer:Robot tests:
  Tear down bika.lims.testing.BikaTestingLayer:Functional in 0.000 seconds.
  Set up plone.testing.z2.ZServer in 0.502 seconds.
  Set up bika.lims.testing.BikaTestingLayer:Robot in 0.000 seconds.
  Running:
    1/27 (3.7%)The following test left new threads behind:
Test Batch-AR (test_Batch.robot)
New thread(s): [<_DummyThread(Dummy-1, started daemon 140116730365696)>]
    5/27 (18.5%)[ WARN ] span.state-sample_received
    14/27 (51.9%)[ WARN ] XXX Publication preferences are broken - the widgets need to make sense, and be adaptable.
[ WARN ] No archetypes-fieldname-CCContact field selected
    24/27 (88.9%)[ WARN ] Maintenance, Validations, CAlibrations, Certifications and Schedules not tested
[ WARN ] Can't select Reset using SESSION (breaks in zeo without sticky sessions)
                  
  Ran 27 tests with 0 failures and 0 errors in 33 minutes 51.621 seconds.
Tearing down left over layers:
  Tear down bika.lims.testing.BikaTestingLayer:Robot in 0.000 seconds.
  Tear down plone.testing.z2.ZServer in 3.921 seconds.
  Tear down bika.lims.testing.BikaTestLayer in 0.018 seconds.
  Tear down plone.app.testing.layers.PloneFixture in 0.053 seconds.
  Tear down plone.testing.z2.Startup in 0.004 seconds.
  Tear down plone.testing.zca.LayerCleanup in 0.016 seconds.
Total: 43 tests, 0 failures, 0 errors in 34 minutes 57.410 seconds.
```