Testing environment, adding unit case tests