Finished framework for traits, testing now
several test cases finished