add helpers to test