Added a unit test, fixed issue with sequence generator.