Write rake task to test assocs