Added the C and B class along with some logic tests in NBTesting