A small test site miles off the Oregon coast will soon generate electricity with the motion of the ocean.