added the test for zero returned from mbed to not be stored in db!