generalized case of classes on window + tests