adding generic compile test for tests directory