Add obstacles tests