completed logic test