Testing lock free implementation