Added test case for signals.py and bug fix

Sometimes gps signal is not picked up by phone and reports 0 for
longitude and latitude. Therefore such observations should be ignored by
the dora app when it is created.