Add a pwd check for travis build before running tests

Signed-off-by: Thanh Ha <thanh.ha@alumni.carleton.ca>