Add tip class + testing

Testing done in the testing.php file.