allow None for expected_return_code on actions

closes #78