Added unit and integrations tests. Unit test for schedule missing.
Added check for missing time in schedule. Now passes the test!