add automated tests to core repo