Implmented arrow detection test. Doesn't work quite right yet.