parser now compiles :D

refined bytes.h and integer.h to have a function to query
whether the parsing for that object is done

also added tests for integer.h