Remove inline tests; add docs; read safely