more spec testing, better association support, minor bugfixes