Basic tests and class layout