Add version method
Started adding tests