Made tests platform independent and directory independent