added test, cleanup, added noDataValue to config and algorithm