WIP Added some JS tests
Done with initialize method