add github tests, make them pass