Added test for issue osate/osate2-core#343
Added test for issue osate/osate2-core#345