Testing upload to database