Updated Test code

Changes synced with latest percntile