remove unnecessary .keep
add uniqueness constraint and tests