test for tree builds without distinct

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>