add test with bones object