Functional tests added collection js