Add test of bcs on interval mesh

Sets the left hand end to zero and the right hand end to one and solves
the identity equation with a right hand side equal to the coordinate.