adding test for joy lib