Let tests run until EOS is received

Tests should not include fixed stop points since the data might change
and thus cause the test to fail.
Clean up tests
Fix logging and printing of time strings
Update position only when state is PLAYING