implemented one-way tests