fix timestamp assertion
add test for System::createFromContext()