adds passing trait_code.t port
ports what can be done with Bool
add tests for number trait