better tests, with context arrays