test for generate spacings adding