Added unit-tests for Db-saving-methods and simple input validation