ignore core dumps
fix enviroment variables processing
add new test cases