Adding implementating of some get functions.
Adding some more test code.