Testing the implementation; fixing a bug.