CS fix
Added logic exception if the sun set is before sun rise.
Added first tests.