fixed failing javascript tests due to adding of test attributes