improve tests
fix local parameters availability