Raw to profile debugged and simplified. Mock user tests complete (no
chain file tests done).