Fixed bugs with SKIPed TOAs and END
Added a directory for tests