js OOP 4 and json wrapper test