First working version of test sketch.