Added a random class and a test panel