changing namespace :as to reflect that it's only for getting and sending data to the db
adding some tests