added item associations
implemented some tests