2nd commit

- Fixed some bugs on Entity class
- Implemented unit tests for select method
- Implemented unit tests for insert method