added nose tests for set_boundary