file sensors fixed, integration tests added