Add first tests and some other stuff

- Tests added
- Using as of now getValidEnumMethod