Added some cpu tests

Added getters and setters for cpu variables.  Added some test methods.