Test for online class