Enabling "make test"

This allows us to run "make test" to run our tests, otherwise our
project will run.

Also fixed the way we flush sensor data by adding a delay in
first_task to make sure we flush it all.