Fix activeresource tests