added test directory and recordbinary.py