configuring some basic tests
adding the typical structure and polyfilling requestAnimationFrame for the interval
implementing the class switch with tests