Set boundary ids and tested them.